// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) ansi lnc 

package com.example.airkissdemo.logic;

import com.example.airkissdemo.core.BaseTask;
import com.example.airkissdemo.protocol.AirKissProtocol;

public class AirKissTask extends BaseTask
{

    public AirKissTask(String s, String s1)
    {
        mHasBroadcastPrecursor = false;
        mSsid = s;
        mPwd = s1;
        mAirKiss = new AirKissProtocol(mSsid, mPwd);
    }

    public int taskImpl()
    {
        int i;
        if(mHasBroadcastPrecursor)
            i = mAirKiss.startDataBroadcast();
        else
            i = mAirKiss.startPrecursorBroadcast();
        return i;
    }

    public AirKissProtocol mAirKiss;
    public boolean mHasBroadcastPrecursor;
    public String mPwd;
    public String mSsid;
}
